


import 'package:json_annotation/json_annotation.dart';

part 'TokenInfo.g.dart';

@JsonSerializable()
class TokenInfo {
  final String id;
  final String gmtCreate;
  final String gmtModified;
  final String phone;
  final String password;
  final String reference;
  final String referenceCompany;
  final String registerTime;

  TokenInfo({
    required this.id,
    required this.gmtCreate,
    required this.gmtModified,
    required this.phone,
    required this.password,
    required this.reference,
    required this.referenceCompany,
    required this.registerTime,
  });

  factory TokenInfo.fromJson(Map<String, dynamic> json) => _$TokenInfoFromJson(json);
  Map<String, dynamic> toJson() => _$TokenInfoToJson(this);

}